package com.basker.pisces.core.exception;

/**
 * 过期对象异常，试图加载不存在的对象、或者试图保存一个过期对象时(对象已经被更改或者删除)，会抛出此异常。
 *
 * @author hangwen
 */
public class StaleObjectException extends DataRepositoryException {

    private static final long serialVersionUID = 2007652916927668633L;

    public StaleObjectException(String msg) {
        super(msg, null);
    }

    public StaleObjectException(String msg, Throwable cause) {
        super(msg, cause);
    }
}
